home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / src / out-of-phase-102-c / OutOfPhase 1.02 Source / OutOfPhase Folder / FindDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-23  |  857 b   |  38 lines  |  [TEXT/KAHL]

  1. /* FindDialog.h */
  2.  
  3. #ifndef Included_FindDialog_h
  4. #define Included_FindDialog_h
  5.  
  6. /* FindDialog module depends on */
  7. /* MiscInfo.h */
  8. /* Debug */
  9. /* Audit */
  10. /* Definitions */
  11. /* Screen */
  12. /* EventLoop */
  13. /* SimpleButton */
  14. /* TextEdit */
  15. /* Memory */
  16. /* Menus */
  17. /* Alert */
  18.  
  19. /* to avoid dragging Menus.h into the header */
  20. struct MenuItemType;
  21.  
  22. /* these possible operations can be returned */
  23. typedef enum
  24.     {
  25.         eFindCancel EXECUTE(= -3516),
  26.         eFindFromStart,
  27.         eFindAgain,
  28.         eDontFind
  29.     } FindOpType;
  30.  
  31. /* present the find dialog, update internal variables, and return the operation to do */
  32. FindOpType        DoFindDialog(char** SearchKey, char** Replace, struct MenuItemType* MCut,
  33.                                 struct MenuItemType* MPaste, struct MenuItemType* MCopy,
  34.                                 struct MenuItemType* MUndo, struct MenuItemType* MSelectAll,
  35.                                 struct MenuItemType* MClear);
  36.  
  37. #endif
  38.